package com.rn.ddd.domain.order.repository;

import com.rn.ddd.domain.order.entity.OrderDO;

/**
 * 订单领域资源库接口
 *
 * @author rannuo
 * @date 2021/8/15
 */
public interface OrderRepository {
    OrderDO get(long orderId);

    boolean exist(String orderName);
}
